<template>
  <div class="main">
    <div class="bottom-box">
      <div class="btn" @click="open(form)"><img src="@/assets/images/android.png" alt="">  Android</div>
      <div class="btn btn1" @click="open(form)"><img src="@/assets/images/ios.png" alt="">  IOS</div>
      <div class="btn btn2" v-routers="{path:'/my'}"><qq>WebVersion</qq></div>
    </div>
  </div>
</template>

<script>
  import {getAppDownLoadUrl} from "@/api/apiFox";

  export default {
    data(){
      return{
        form:''
      }
    },
    methods:{
      getList(){
        getAppDownLoadUrl().then(res=>{
          console.log(res)
          this.form=res
        }).catch(err=>{})
      },
      open(item){
        window.open(item)
      }
    },
    mounted() {
      this.getList()
    }
  }
</script>

<style scoped lang="scss">
.main{
  width: 100%;
  min-height: 100vh;
  background: url("@/assets/images/bg-Download.jpg") no-repeat;
  background-size: cover;
  position: relative;
  .bottom-box{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 250px;
    padding: 25px;
    box-sizing: border-box;
    .btn{
      width:100%;
      height: 50px;
      background: linear-gradient( 90deg, #449E13 0%, #8EE460 100%);
      border-radius: 30px 30px 30px 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 400;
      font-size: 16px;
      color: #FFFFFF;
      margin-bottom: 10px;
      img{
        width: 24px;
        height: 24px;
        object-fit: cover;
      }
    }
    .btn1{
      background: linear-gradient( 90deg, #171717 0%, #7D7D7D 100%);
      border-radius: 30px 30px 30px 30px;
    }
    .btn2{
      background: linear-gradient( 270deg, #533DF1 0%, #30238B 100%);
      border-radius: 30px 30px 30px 30px;
    }
  }
}
</style>